package com.devilvan.betrice.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author Evad.Wu
 * @Description 管理模块 静态类
 * @date 2023-08-11
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class AdminConstant {
    /**
     * 用户名最小长度
     */
    public static final int USERNAME_MIN_LENGTH = 2;
    /**
     * 用户名最大长度
     */
    public static final int USERNAME_MAX_LENGTH = 20;
    /**
     * 密码最小长度
     */
    public static final int PASSWORD_MIN_LENGTH = 6;
    /**
     * 密码最大长度
     */
    public static final int PASSWORD_MAX_LENGTH = 20;

    /* SYS_CONFIG */
    /**
     * 主框架页-默认皮肤样式名称
     */
    public static final String SYS_INDEX_SKIN_NAME = "sys.index.skinName";
    /**
     * 用户管理-账号初始密码
     */
    public static final String SYS_USER_INIT_PASSWORD = "sys.user.initPassword";
    /**
     * 主框架页-侧边栏主题
     */
    public static final String SYS_INDEX_SIDE_THEME = "sys.index.sideTheme";
    /**
     * 账号自助-验证码开关
     */
    public static final String SYS_ACCOUNT_CAPTCHA_ENABLED = "sys.account.captchaEnabled";
    /**
     * 账号自助-是否开启用户注册功能
     */
    public static final String SYS_ACCOUNT_REGISTER_USER = "sys.account.registerUser";
    /**
     * OSS预览列表资源开关
     */
    public static final String SYS_OSS_PREVIEW_LIST_RESOURCE = "sys.oss.previewListResource";
    /* SYS_CONFIG */

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 注册
     */
    public static final String REGISTER = "Register";
}
